//**********************************************************************************
//  PP3_2.java         Author:Tang Caiming
//
//  I'm going to take the cube of two Numbers.
//**********************************************************************************

import java.util.Scanner;

public class PP3_2
{
   public static void main(String[] args)
   {
      Scanner scan = new Scanner(System.in);

      int num1, num2, num3;

      System.out.println("Enter the first number: ");
      num1 = scan.nextInt();

      System.out.println("Enter the second number: ");
      num2 = scan.nextInt();

      num3 = (int)Math.pow(num1, 3) + (int)Math.pow(num2, 3);

      System.out.println("两个数的立方和为: " + num3);
   }
}
